Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.actions.widgettypes--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.actions.widgettypes inside nuxeo-platform-actions-jsf-6.0.jar

Extension Point

Extension point widgettypes of component WebLayoutManager.

Contributed Items

  • <widgetType name="actions">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Actions</title>
            <description>
              <p>This widget displays actions.</p>
              <p>
                It needs the list of actions as property "actions".
                <br/>
                Its bound value is used for actions with type "widget".
              </p>
            </description>
            <categories>
              <category>hidden</category>
            </categories>
            <fields>
              <defaultConfiguration>
                <field/>
              </defaultConfiguration>
            </fields>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="actions_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>actions</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actionsDisplay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_overallDisplay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_maxActionsNumber</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_moreMenuLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_addForm</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_useAjaxForm</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">ajaxReRender</widget>
                    </row>
                  </rows>
                  <widget name="actions" type="actions">
                    <labels>
                      <label mode="any">Actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The list of actions to display.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>actions</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/actions/actions_widget_template.xhtml
          </property>
        </widgetType>
  • <widgetType name="action">
          <configuration>
            <sinceVersion>5.7</sinceVersion>
            <title>Action</title>
            <description>
              <p>This widget displays an action.</p>
              <p>
                It needs the action as property "action".
                <br/>
                Its bound value is used for actions with type "widget".
                <br/>
                It can add a form around its button to handle actions with type
                "fancybox" that would need a form in their opened fancybox content.
              </p>
            </description>
            <categories>
              <category>hidden</category>
            </categories>
            <fields>
              <defaultConfiguration>
                <field/>
              </defaultConfiguration>
            </fields>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="action_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>action</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actionsDisplay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_addForm</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_useAjaxForm</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">ajaxReRender</widget>
                    </row>
                  </rows>
                  <widget name="action" type="action">
                    <labels>
                      <label mode="any">Action</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The action to display.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>action</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/actions/action_widget_template.xhtml
          </property>
        </widgetType>
  • <widgetType name="tabs">
          <configuration>
            <sinceVersion>5.7</sinceVersion>
            <title>Tabs</title>
            <description>
              <p>This widget displays tabs.</p>
              <p>
                It needs the list of actions as property "actions".
                <br/>
                Its bound value is used for actions with type "widget".
              </p>
            </description>
            <categories>
              <category>hidden</category>
            </categories>
            <fields>
              <defaultConfiguration>
                <field/>
              </defaultConfiguration>
            </fields>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="tabs_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>actions</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_addForm</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_useAjaxForm</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">ajaxReRender</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actionsDisplay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actions_styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">tabs_overallDisplay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">tabs_hideSingleTab</widget>
                    </row>
                  </rows>
                  <widget name="actions" type="actions">
                    <labels>
                      <label mode="any">Actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The list of actions to display.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>actions</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/actions/tabs_widget_template.xhtml
          </property>
        </widgetType>

XML Source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widgetType name="actions">
      <configuration>
        <sinceVersion>5.6</sinceVersion>
        <title>Actions</title>
        <description>
          <p>This widget displays actions.</p>
          <p>
            It needs the list of actions as property "actions".
            <br/>
            Its bound value is used for actions with type "widget".
          </p>
        </description>
        <categories>
          <category>hidden</category>
        </categories>
        <fields>
          <defaultConfiguration>
            <field/>
          </defaultConfiguration>
        </fields>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <properties>
          <layouts mode="any">
            <layout name="actions_widget_type_properties_any">
              <rows>
                <row>
                  <widget>actions</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actionsDisplay</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_overallDisplay</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_maxActionsNumber</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_styleClass</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_moreMenuLabel</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_addForm</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_useAjaxForm</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">ajaxReRender</widget>
                </row>
              </rows>
              <widget name="actions" type="actions">
                <labels>
                  <label mode="any">Actions</label>
                </labels>
                <helpLabels>
                  <label mode="any">
                    The list of actions to display.
                  </label>
                </helpLabels>
                <fields>
                  <field>actions</field>
                </fields>
                <widgetModes>
                  <mode value="edit_demo_preview">hidden</mode>
                </widgetModes>
              </widget>
            </layout>
          </layouts>
        </properties>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/actions/actions_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="action">
      <configuration>
        <sinceVersion>5.7</sinceVersion>
        <title>Action</title>
        <description>
          <p>This widget displays an action.</p>
          <p>
            It needs the action as property "action".
            <br/>
            Its bound value is used for actions with type "widget".
            <br/>
            It can add a form around its button to handle actions with type
            "fancybox" that would need a form in their opened fancybox content.
          </p>
        </description>
        <categories>
          <category>hidden</category>
        </categories>
        <fields>
          <defaultConfiguration>
            <field/>
          </defaultConfiguration>
        </fields>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <properties>
          <layouts mode="any">
            <layout name="action_widget_type_properties_any">
              <rows>
                <row>
                  <widget>action</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actionsDisplay</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_styleClass</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_addForm</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_useAjaxForm</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">ajaxReRender</widget>
                </row>
              </rows>
              <widget name="action" type="action">
                <labels>
                  <label mode="any">Action</label>
                </labels>
                <helpLabels>
                  <label mode="any">
                    The action to display.
                  </label>
                </helpLabels>
                <fields>
                  <field>action</field>
                </fields>
                <widgetModes>
                  <mode value="edit_demo_preview">hidden</mode>
                </widgetModes>
              </widget>
            </layout>
          </layouts>
        </properties>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/actions/action_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="tabs">
      <configuration>
        <sinceVersion>5.7</sinceVersion>
        <title>Tabs</title>
        <description>
          <p>This widget displays tabs.</p>
          <p>
            It needs the list of actions as property "actions".
            <br/>
            Its bound value is used for actions with type "widget".
          </p>
        </description>
        <categories>
          <category>hidden</category>
        </categories>
        <fields>
          <defaultConfiguration>
            <field/>
          </defaultConfiguration>
        </fields>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <properties>
          <layouts mode="any">
            <layout name="tabs_widget_type_properties_any">
              <rows>
                <row>
                  <widget>actions</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_addForm</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_useAjaxForm</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">ajaxReRender</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actionsDisplay</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">actions_styleClass</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">tabs_overallDisplay</widget>
                </row>
                <row>
                  <widget category="widgetTypeConf">tabs_hideSingleTab</widget>
                </row>
              </rows>
              <widget name="actions" type="actions">
                <labels>
                  <label mode="any">Actions</label>
                </labels>
                <helpLabels>
                  <label mode="any">
                    The list of actions to display.
                  </label>
                </helpLabels>
                <fields>
                  <field>actions</field>
                </fields>
                <widgetModes>
                  <mode value="edit_demo_preview">hidden</mode>
                </widgetModes>
              </widget>
            </layout>
          </layouts>
        </properties>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/actions/tabs_widget_template.xhtml
      </property>
    </widgetType>

  </extension>